package org.jeecg.modules.basic.demo.apartment.service;


import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.basic.demo.apartment.entity.LwgyBaseApartmentDistribute;
import org.jeecg.modules.basic.demo.apartment.entity.LwgyBaseApartmentDistributeXy;


import java.util.List;


/**
 * @Description: 房源分配管理
 * @Author: sn
 * @Date: 2021-10-25
 * @Version: V1.0
 */
public interface ILwgyBaseApartmentDistributeService extends IService<LwgyBaseApartmentDistribute> {
	//查询所有校区
	List<LwgyBaseApartmentDistribute> queryDistributeXqList();

	/*//通过校区获取每个楼的房源分布剩余情况
	List<LwgyBaseApartmentDistribute> queryDistributeLhList(String campusId);*/

	//通过校区获取每个楼的房源分布剩余情况
	List<LwgyBaseApartmentDistribute> queryDistributeLhMoreList(String campusId);

	List<LwgyBaseApartmentDistribute> queryDistributeRoomList(String unitId);

	List<LwgyBaseApartmentDistribute> queryRoomList(String unitId,String chId);

	//获取学院辅导员信息
	List<LwgyBaseApartmentDistributeXy> queryDistributeFdyList(String buildingId,String collegeId);


	//获取某个或多個辅导员的房源分布信息
	List<LwgyBaseApartmentDistribute> queryDistributeLhByFdyList(List<String> adminId);


	//获取某个辅导员的房源分布详细信息
	List<LwgyBaseApartmentDistribute> queryDistributeRoomInfoByFdyList(String adminId,String buildingId);

	//获取某个学院的辅导员信息
	List<String> queryDistributeFdyInfoByCollegeIdList(String collegeId);


}
